package com.spark.common.upload;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * 统一存储接口设计
 *
 * @author LYCHEE
 * @date 2025/3/13 10:08
 */
public interface StorageService {
    String upload(MultipartFile file) throws IOException;
    String getFileUrl(String fileName);
}
